{extend name="public:index"/}
{block name="title"}{:sysconf('title')}{/block}
{block name="content"}
<section class="whtop">
    <div class="top">
        <p class="p1"><a href="javascript:history.back(-1)"></a></p>
        <p class="p2">我的积分</p>
        <p class="p3"></p>
    </div>
</section>
<section style="height:2rem;"></section>
<section class="jifenbox">
    <!--<p class="p1"><img src="__INDEX__/images/qian.png" alt=""></p>-->
    <p class="p1"><img src="{$user['avatar']}" alt=""></p>
    <p class="p2">
        <span style="margin-right:0;">{$user['user_nickname']}</span>
    </p>
    <p class="p2">
        <span><em>{$user['point']}积分</em></span>
    </p>
</section>
<section class="ncbj_caipro3">
    <div class="caiprobox">
        <div class="caipro">
            <div class="caipromain">
                {if condition="$list"}
                <dl>
                    <dt></dt>
                    {foreach name="list" item="vo"}
                    <dd>
                        <p class="p1">
                            <span class="span1">{$vo.description}</span>
                            <span class="span2">
                                {if condition="$vo.plus_minus eq '-'"}
                                	<i>{$vo['plus_minus']}{$vo['count']}</i>
                                {else if condition="$vo.plus_minus eq '+'"}
                                	<em>{$vo['plus_minus']}{$vo['count']}</em>
                                {/if}
                            </span>
                        </p>
                        <p class="p2">
                            <span class="span1">{$vo['add_time']}</span>
                            <span class="span2">{:config('point_type_arr')[$vo['type']]}</span>
                        </p>
                    </dd>
                    {/foreach}
                </dl>
                {else/}
                <div class="nofind"><img src="__INDEX__/images/nosp.png" alt=""><p>暂时没有记录</p></div>
                {/if}
            </div>
        </div>
    </div>
    <div style="height:2.5rem;"></div>

</section>
{/block}